package com.group9.service.impl;

import com.group9.mapper.UserInfoMapper;
import com.group9.pojo.CustomerInfo;
import com.group9.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/5/6.
 */
@Service
public class UserLoginServiceImpl implements UserLoginService{
    @Autowired
    UserInfoMapper userInfoMapper;


    @Override
    public CustomerInfo selectByLoginNameAndPwd(String loginName, String pwd) {
        CustomerInfo customerInfo = userInfoMapper.selectByLoginNameAndPwd(loginName,pwd);
        return customerInfo;
    }


}
